# coding:utf-8
from flask import Blueprint
# from app.api.v1 import user, book, client, spider
from app.api.v1 import user


def create_blueprint():
    bp_v1 = Blueprint('v1', __name__)
    # 下面注册调用自定义 register
    user.api.register(bp_v1, url_prefix='/user')
    # book.api.register(bp_v1, url_prefix='/book')
    # client.api.register(bp_v1, url_prefix='/client')
    # spider.api.register(bp_v1, url_prefix='/spider')
    return bp_v1
